package org.csu.secondhand.api.service;

import org.csu.secondhand.api.entity.Dealing;
import org.csu.secondhand.api.entity.Cart;

import java.util.List;

public interface CartService {
    List<Dealing> getCartByUser(String user);
    Cart insertCart(Cart cart);
    Cart removeCart(String user, long dealing);
    int isInCart(String user, long dealing);
}
